home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_1.3 / Include-Strip1.3 / include.h / libraries / filehandler.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-07-15  |  1.3 KB  |  69 lines

  1. #ifndef    LIBRARIES_FILEHANDLER_H
  2. #define    LIBRARIES_FILEHANDLER_H
  3. #ifndef    EXEC_TYPES_H
  4. #include    "exec/types.h"
  5. #endif    !EXEC_TYPES_H
  6. #ifndef    EXEC_PORTS_H
  7. #include    "exec/ports.h"
  8. #endif    !EXEC_PORTS_H
  9. #ifndef    LIBRARIES_DOS_H
  10. #include    "libraries/dos.h"
  11. #endif    !LIBRARIES_DOS_H
  12. struct    DosEnvec    {
  13. ULONG    de_TableSize;
  14. ULONG    de_SizeBlock;
  15. ULONG    de_SecOrg;
  16. ULONG    de_Surfaces;
  17. ULONG    de_SectorPerBlock;
  18. ULONG    de_BlocksPerTrack;
  19. ULONG    de_Reserved;
  20. ULONG    de_PreAlloc;
  21. ULONG    de_Interleave;
  22. ULONG    de_LowCyl;
  23. ULONG    de_HighCyl;
  24. ULONG    de_NumBuffers;
  25. ULONG    de_BufMemType;
  26. ULONG    de_MaxTransfer;
  27. ULONG    de_Mask;
  28. LONG    de_BootPri;
  29. ULONG    de_DosType;
  30. };
  31. #define    DE_TABLESIZE    0
  32. #define    DE_SIZEBLOCK    1
  33. #define    DE_SECORG    2
  34. #define    DE_NUMHEADS    3
  35. #define    DE_SECSPERBLK    4
  36. #define    DE_BLKSPERTRACK    5
  37. #define    DE_RESERVEDBLKS    6
  38. #define    DE_PREFAC    7
  39. #define    DE_INTERLEAVE    8
  40. #define    DE_LOWCYL    9
  41. #define    DE_UPPERCYL    10
  42. #define    DE_NUMBUFFERS    11
  43. #define    DE_MEMBUFTYPE    12
  44. #define    DE_BUFMEMTYPE    12
  45. #define    DE_MAXTRANSFER    13
  46. #define    DE_MASK    14
  47. #define    DE_BOOTPRI    15
  48. #define    DE_DOSTYPE    16
  49. struct    FileSysStartupMsg    {
  50. ULONG    fssm_Unit;
  51. BSTR    fssm_Device;
  52. BPTR    fssm_Environ;
  53. ULONG    fssm_Flags;
  54. };
  55. struct    DeviceNode    {
  56. BPTR    dn_Next;
  57. ULONG    dn_Type;
  58. struct    MsgPort    *dn_Task;
  59. BPTR    dn_Lock;
  60. BSTR    dn_Handler;
  61. ULONG    dn_StackSize;
  62. LONG    dn_Priority;
  63. BPTR    dn_Startup;
  64. BPTR    dn_SegList;
  65. BPTR    dn_GlobalVec;
  66. BSTR    dn_Name;
  67. };
  68. #endif
  69.